{% extends 'common/base.html' %}
{% load staticfiles %}
{% block section %}

    <div class="panel panel-defaut">
        <div class="panel-heading"><h2>已审批列表</h2></div>
        <table class="pane-body table table-hover table-striped table-bordered">
            <tr>
                <th>ID</th>
                <th>标题</th>
                <th>小组</th>
                <th>创建人</th>
                <th>创建时间</th>
                <th>当前节点</th>
                <th>操作</th>
            </tr>
            {% for suggest in suggest_audit_list %}
                <tr>
                    <td>{{ suggest.id }}</td>
                    <td>{{ suggest.title }}</td>
                    <td>{{ suggest.department }}</td>
                    <td>{{ suggest.create_user }}</td>
                    <td>{{ suggest.create_at }}</td>
                    <td>{{ suggest.current_node }}</td>
                    <td style="padding: 0;"><a href="/suggest_audit/?suggest_id={{ suggest.id }}" class="btn btn-default btn-info">去审批</a></td>
                </tr>
            {% endfor %}

        </table>
    </div>


{% endblock %}